package com.tn.rtdata.jmx;

import com.tn.rtdata.ControlProcess;

/**
 * An implementation of <code>ProcessInfoMXBean</code> that references the <code>ControlProcess</code> in order to return the control
 * process info.
 */
public class ProcessInfo implements ProcessInfoMXBean
{
  /**
   * {@inheritDoc}
   */
  @Override
  public String getControlProcessId()
  {
    return ControlProcess.getId().toString();
  }
}
